package com.mtnz.njk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
/**
* @Description:    用户签到信息实体类
* @Author:         FBL
* @CreateDate:     2019\8\2 0002 9:31
* @Version:        1.0
*/
@Data
@Table(name = "user_sign")
public class UserSignEntity {
    @Id
    @Column(name = "sign_id")
    private Integer signId;
    @Column(name = "user_id")
    private String userId;
    @Column(name = "days_num")
    private Integer daysNum;
    private Integer today;
    @Column(name = "days_status")
    private Integer daysStatus;
    @Column(name = "sign_date")
    private String signDate;
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
